package edu.sctu.practice.class02.shilaihong.text.text01;

import java.util.Scanner;

/**
 * Created by admin on 2015/10/12.
 */
public class Game {
    public static void main(String[] args) {
        A a = new A();
        Scanner input = new Scanner(System.in);
        System.out.println("请输入这个值：");
        int i = input.nextInt();
        if (i < a.v) {
            System.out.println("小于这个值");

        } else if (i > a.v) {
            System.out.println("大于这个值");

        } else {
            System.out.println("恭喜你猜对了！");


        }
    }
}
